<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
    <%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Insert title here</title>
<jsp:include page="incoud.jsp"/>
</head>
<body class="hold-transition login-page">
	<div class="login-box">
		<div class="login-logo">
			<a href=""><b>Admin</b>LTE</a>
		</div>
		<div class="login-box-body">
			<p class="login-box-msg">Sign in to start your session</p>
			<sf:form servletRelativeAction="/doLogin" methodParam="post" modelAttribute="loginBean">
				<div class="form-group has-feedback">
					<sf:input path="username" cssClass="form-control" placeholder="username/email"/>
					<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
				</div>
				<div class="form-group has-feedback">
					<sf:password path="password" cssClass="form-control" placeholder="Password"/>
					<span class="glyphicon glyphicon-lock form-control-feedback"></span>
				</div>
				<div class="row">
					<div class="col-xs-8">
						<div class="checkbox icheck">
							<label>
								<input type="checkbox"> Remember Me
							</label>
						</div>
					</div>
					<div class="col-xs-4">
						<button type="submit" class="btn btn-primary btn-block btn-flat">Sign In</button>
					</div>
				</div>
				<input type="hidden" name="service" value="${service }">
			</sf:form>
			<a href="#">I forgot my password</a>
			<br>
			<a href="<s:url value="/register"/>">Register a new membership</a>
		</div>
	</div>
	

	<script type="text/javascript">
		$(document).ready(function(){
			$("input").iCheck({
				checkboxClass:'icheckbox_square-blue',
				radioClass:'iradio_square-blue',
				increaseAreaa:'20%'
			});
		});
	</script>
</body>
</html>